.layout-header-alarm {
  float: right;

  .alarm-btn {
    margin-right: 4px;
    border: none;
    box-shadow: none;
  }
  .ant-badge-count {
    top: 8px;
    right: 10px;
    box-shadow: none;
    p {
      font-size: 12px;
      color: #fff;
    }
  }
}
// 告警-抽屉外层容器
.alarm-wrapper {
  position: absolute;
  width: 400px;
  top: 50px;
  right: 0;
  height: calc(100% - 50px);

  // 滚动加载列表-样式
  .demo-infinite-container {
    // border: 1px solid #e8e8e8;
    // border-radius: 4px;
    overflow: auto;
    // padding: 8px 24px;
  }
  .ant-spin-spinning {
    display: block;
    padding-top: 30px;
    text-align: center;
  }
  .loading-txt,
  .footer-txt {
    width: 100%;
    font-size: 12px;
    line-height: 50px;
    text-align: center;
    color: #999;
  }
  .footer-txt {
    color: #ababab;
  }

  // 告警-抽屉list-antd样式-重构
  .alarm-drawer {
    display: none;
    .ant-drawer-header {
      padding: 5px 24px 0;
      background: #f2f2f2;
      border-bottom: none;
      .ant-drawer-title {
        padding-left: 15px;
        font-size: 14px;
      }
    }
    .ant-drawer-body {
      padding: 10px 0 0;
      background: #f2f2f2;
    }
    .ant-drawer-close {
      right: auto;
      left: 0;
      padding: 8px 5px 8px 14px;
      font-size: 16px;
      font-weight: bold;
    }
    .ant-list-item-action li {
      margin: -4px 15px 0 0;
      color: #5e6871;
    }
    .ant-list-item-meta-title {
      font-size: 13px;
      color: #5e6871;
    }

    .ant-list-item-meta-description {
      font-size: 12px;
      color: #263238;
    }
    .ant-drawer .ant-drawer-content {
      background: #f2f2f2;
    }

    .ant-list-split .ant-list-item {
      margin: 5px 15px 10px;
      padding: 10px 0 6px;
      background: #fff;
      border-radius: 10px;
      border-bottom: none;

      &.isNew {
        .ant-list-item-meta-title,
        .ant-list-item-action {
          font-weight: bold;
        }
      }

      &:hover {
        font-weight: normal;
        box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
      }
    }
    .ant-list-item-meta-avatar {
      margin-top: 5px;
      margin-right: 14px;
      width: 4px;
    }
    .ant-btn {
      padding: 0;
    }
    // 删除全部下载任务
    .delete-all-btn {
      position: absolute;
      top: 4px;
      right: 5px;
      padding-right: 10px;
      height: 24px;
      line-height: 24px;
    }
    .ant-badge-not-a-wrapper .ant-scroll-number {
      top: -18px;
      left: -10px;
      width: 12px;
      height: 12px;
    }
  }
  .alarm-drawer.ant-drawer-open {
    display: block;
  }
}
// 告警消息toast提示-样式
.custom-alarm-notification {
  padding: 16px 10px;
  border-radius: 10px;
  cursor: pointer;
  .ant-notification-notice-icon {
    // 垂直居中
    margin-top: -18px;
    top: 50%;
  }
  .ant-notification-notice-message {
    display: none;
  }
  .ant-notification-notice-close {
    // top: 18px;
    right: 15px;
  }
  .ant-notification-close-icon {
    font-size: 18px;
  }
  .ant-notification-notice-description {
    margin-right: 40px;
  }
}
